package com.tingfeng;

public class User {
    private String name;


    public User(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

//    public User(){
//        System.out.println("name无参构造");
//    }

    public void show() {
        System.out.println("name"+name);
    }
}
